import React from "react";
import { Divider, Button, Timeline, Modal, Layout } from "antd/lib";
import Workflow from "@/services/workflow";
const { Sider, Content } = Layout;
const { confirm } = Modal;
export default class Lookchecksqb extends React.Component {
  state = {
    loading: true,
    // elementdata:"",
  };
  componentWillMount() {
    // this.setState({
    //   elementdata: this.props.elementdata,
    // });
    // try {
    //   document.getElementById("goods_detail_contentselchecksqb").innerHTML =  this.props.elementdata;
    // } catch (e) {

    // }
  }
  // componentDidUpdate() {
  //   try {
  //     document.getElementById("goods_detail_contentselchecksqb").innerHTML =  this.state.elementdata;
  //   } catch (e) {

  //   }

  // }
  render() {
    return (
      <div
        className="content"
        dangerouslySetInnerHTML={{ __html: this.props.elementdata}}
        />
    );
  }
}
